<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/sks/cms/page/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>管理员登录</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<style>
body {
	padding: 0;
	margin: 0;
	background: url(/images/admin/adminlog/body-bg.jpg) repeat-x 0 0 #FFF5DB
		;
	font: 12px/ 15px Arial, Helvetica, sans-serif;
	color: #000;
}

td,h1,h2,h3,p,ul,img,form,input,select {
	padding: 0;
	margin: 0;
}

td.leftCrv {
	background: url(/images/admin/adminlog/left-crv.jpg) no-repeat 0 0;
	width: 10px;
	height: 30px;
}

td.rightCrv {
	background: url(/images/admin/adminlog/right-crv.jpg) no-repeat 0 0;
	width: 10px;
	height: 30px;
}

td.midBg {
	background: url(/images/admin/adminlog/mid-bg.jpg) repeat-x 0 0;
}

td.midBg h2 {
	font: 16px/ 30px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #FFF;
	margin: 0 0 0 7px;
	background-color: inherit;
}

td.productBg {
	background: url(/images/admin/adminlog/product-bg1.jpg) repeat-x 0 0;
	padding: 25px 0 0 0;
}

td.yellowBg {
	background: url(/images/admin/adminlog/yellow-bg.jpg) repeat-y 0 0;
	padding: 11px 0 12px;
	border-top: 1px solid #F7D983;
}

td.botCrv {
	background: url(/images/admin/adminlog/bot-crv.jpg) no-repeat 0 0;
	height: 30px;
}

.textfield {
	width: 164px;
	height: 25px;
	line-height: 34px;
	background: url(/images/admin/adminlog/inputbg.gif) repeat-x;
	border: solid 1px #d1d1d1;
	font-size: 9pt;
}

.reset {
	background: url("/images/admin/adminlog/reset-con.png");
	height: 60px;
	width: 60px;
	border: 0px;
}
</style>

		<script language="JavaScript">
		function trim(stringToTrim) {
	return stringToTrim.replace(/^\s+|\s+$/g,"");
}
	function verifyForm(objForm) {
		if (trim(objForm.username.value)== ""||objForm.username.value==null) {
			alert("用户名不能为空!");
			objForm.username.focus();
			return false;
		}
		if (trim(objForm.password.value)== ""||objForm.password.value==null) {
			alert("密码不能为空!");
			objForm.password.focus();
			return false;
		}
		//return true;
	}
	function locateparentwindow() {
		if (window.parent != null && window.parent.document.URL != document.URL) {
			window.parent.location = document.URL;
		}
	}
	
	function document.onkeydown() {   //网页内按下回车触发
   
       
        if(event.keyCode==13)
        {
                 document.getElementById("submit").click();       
                  event.returnValue = false;                                            
        }
}
</script>
	</head>
	<body onload="JavaScript:locateparentwindow()">
		<br />
		<br />
		<br />
		<br />
		<html:form action="/com/sks/privilege/employee/logon" method="post"
			>
			<table height="180" width="400" border="0" align="center"
				cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<td>
							<!-- <img src="/images/admin/adminlog/logohead.jpg" /> -->
						</td>
					</tr>
					<tr>
					<td>&nbsp;
					<strong><font color="#ff0000">${message}</font></strong> 
					</td>
					</tr>
					<tr>
						<td height="8px">
							<table width="100%" cellspacing="0" cellpadding="0" border="0">
								<tbody>
									<tr>
										<td valign="top" align="left" class="leftCrv">
											&nbsp;
										</td>
										<td align="left" valign="top" class="midBg">
											<h2>
												后台管理系统登录
											</h2>
										</td>
										<td align="left" valign="top" class="rightCrv">
											&nbsp;
										</td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
					<tr>
						<td valign="top" align="left" class="yellowBg" height="140">
							<table width="100%" height="100%" border="0" align="center">
								<tbody>
									<tr>
										<td>
											&nbsp;
											<img src="/images/admin/adminlog/login-logo.png">
										</td>
										<td>
											&nbsp;
										</td>
										<td>

											<br>
										</td>

									</tr>
									<tr>
										<td width="20%" align="right">
											<img src="/images/admin/adminlog/user.png" />
										</td>
										<td width="20%">
											&nbsp;

											<font size="2">用户名称：</font>
										</td>
										<td>
											&nbsp;
											<input type="text" name="username" class="textfield">
										</td>

									</tr>
									<tr>
										<td align="right">
											<img src="/images/admin/adminlog/password.png" />
											<br>
										</td>
										<td>
											&nbsp;
											<font size="2">用户密码：</font>
										</td>
										<td>
											&nbsp;
											<input type="password" name="password" class="textfield">
										</td>

									</tr>
									<tr>
										<td>
											&nbsp;
										</td>
										<td align="right">
											&nbsp;
										</td>
										<td align="center">
											<!-- <input type="image"
												src="/images/admin/adminlog/reset-con.png" name="button "
												onclick="form.reset();return false; "> -->
											<!-- <input type="reset" name="reset" class="reset"/> -->
											&nbsp;&nbsp;
											<input type="image" name="submit" id="submit" onclick="return verifyForm(document.employeeForm);"
												src="/images/admin/adminlog/login-con.png" />
										</td>

									</tr>
								</tbody>
							</table>
						</td>
					</tr>
					<tr>
						<td class="botCrv" align="left" valign="top">
						</td>
					</tr>
				</tbody>
			</table>
		</html:form>
	</body>
</html>
